package com.words.dao;

import com.words.entity.SysRoleAuthority;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface Role_AuthorityDao {
    @Select("select * from sys_role_authority where role_id =#{role_id}")
    List<SysRoleAuthority> queryByRoleid(@Param("role_id") int role_id);
}
